package cn.intotw.rdcj.admin.domain.dao;


import cn.intotw.rdcj.admin.domain.po.RolesUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RolesUserDao extends BaseMapper<RolesUser> {
    int deleteByPrimaryKey(Integer id);

    int insert(RolesUser record);

    int insertSelective(RolesUser record);

    RolesUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RolesUser record);

    int updateByPrimaryKey(RolesUser record);
    List<String> selectRolesByUserId(Long userId);


}